package com.whu.waterworks.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * WaterWaterplanttype entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "WATER_WATERPLANTTYPE", schema = "ZJ")
public class WaterWaterplanttype implements java.io.Serializable {

	// Fields

	private String typeid;
	private String typename;

	// Constructors

	/** default constructor */
	public WaterWaterplanttype() {
	}

	/** minimal constructor */
	public WaterWaterplanttype(String typeid) {
		this.typeid = typeid;
	}

	/** full constructor */
	public WaterWaterplanttype(String typeid, String typename) {
		this.typeid = typeid;
		this.typename = typename;
	}

	// Property accessors
	@Id
	@Column(name = "TYPEID", unique = true, nullable = false)
	public String getTypeid() {
		return this.typeid;
	}

	public void setTypeid(String typeid) {
		this.typeid = typeid;
	}

	@Column(name = "TYPENAME")
	public String getTypename() {
		return this.typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}

}